package com.sfx.controller;

import com.sfx.model.CommonBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2022-12-23
 * Time: 15:37
 */

@Controller
public class ScopeController2 {

    @Autowired
    private CommonBean commonBean;

    public void doScopeController2(){
        System.out.println("王五使用公共的Bean信息为 : " + commonBean);
    }
}
